package com.nidu.demo.dict.dto;

import com.nidu.demo.base.BaseTenantCO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 字典数据客户端对象
 *
 * @author auto
 */
@Data
@Schema(description = "字典数据客户端对象")
@EqualsAndHashCode(callSuper = true)
public class DictDataCO extends BaseTenantCO {

    /**
     * 国际化key
     */
    @Schema(description = "国际化key", example = "system.boolean.yes")
    private String i18nKey;

    /**
     * 字典标签
     */
    @Schema(description = "字典标签", example = "是")
    private String label;

    /**
     * 字典键值
     */
    @Schema(description = "字典键值", example = "true")
    private String value;

    /**
     * 字典类型
     */
    @Schema(description = "字典类型", example = "boolean-type")
    private String dictType;

    /**
     * 颜色类型
     */
    @Schema(description = "颜色类型", example = "blue")
    private String color_type;

    /**
     * css样式
     */
    @Schema(description = "css样式", example = "vue-button-blue")
    private String css_class;

    /**
     * 备注
     */
    @Schema(description = "备注", example = "用于控制前端标签显示")
    private String remark;

    @Schema(description = "排序号", example = "0")
    private Integer sortOrder;

} 